package com.cicigodd.brick.plug.generator.service.impl;

import com.cicigodd.brick.plug.generator.mapper.GeneratorMapper;
import com.cicigodd.brick.plug.generator.service.GeneratorService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @author cicigodd
 * @date 2022-11-16 10:21
 */
@Slf4j
@Service
public class GeneratorServiceImpl implements GeneratorService {

    @Resource
    private GeneratorMapper generatorMapper;

    @Override
    public List<Map<String, String>> getTableInfo(String tableSchema, String tableName) {
        return generatorMapper.getTableInfo(tableSchema,tableName);
    }
}
